package com.yhsoft.buyer.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author: yyyyyyyh
 * @create: 2023-10-23
 * @Version 1.0
 **/
@Data
public class FastAddInVo {
    @ApiModelProperty(value = "商品信息")
    @Valid
    private CartInVo cartInVo;

    @NotNull(message = "地址ID不能为空")
    @ApiModelProperty(value = "地址ID")
    private Integer addressId;
}
